<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Event</title>
    <meta name="keywords" content="net.dotsimplicity.events.Event,Event class" />
    <meta name="generator" content="SinjDoc 0.5" />
    <link href="../../../stylesheet.css" rel="stylesheet" type="text/css" />
    <link rel="Index" href="../../../index-all.html" />
    <link rel="Start" href="../../../overview-summary.html" />
    <link rel="Up" href="package-summary.html" />
    <link rel="Help" href="../../../help-doc.html" />
  </head>
  <body class="classPage bigframe">
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../../../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/Event.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../../../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../../../index-all.html">Index</a></span>
      <span class="help"><a href="../../../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../../../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="Event.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../../../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_summary">Constr</a></span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_detail">Constr</a></span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <p class="packageName">net.dotsimplicity.events</p>
   <h1>  Class  Event</h1>
<!--
   <p class="enclosing">
   Enclosing class/interface: @OUTER@
   </p>
-->


   <!-- XXX class hierarchy diagram goes here -->
<!--
   
   <p class="directSubclasses">
   Direct known subclasses: @ALL_SUBCLASSES@
   </p>
-->


   <p class="declaration">public
     class 
   <span class="className">Event</span>
   
   
      
      <span class="extends">extends Object</span>
      
      
   
   </p>

   <div class="description">
   
 The Event class defines an event and the parameters that each subscribed <a href="EventSlot.html" class="classRef">EventSlot</a> should 
 implement. In order to provide these services each Event consists of a name, a collection of
 parameters and a collection of EventSlots (which provide the required parameters).
   </div>





   <table class="constructor_summary summary">
     <tr><th colspan="2"><a name="constructor_summary" id="constructor_summary">Constructor Summary</a></th></tr>

     <tr><td> </td><td><span class="memberName"><a href="#Event(<unknown>.String)" class="constructorRef">Event</a>(String name)</span><div class="memberDescription">
 Constructs an Event with a name and no required parameters.</div></td></tr>



     <tr><td> </td><td><span class="memberName"><a href="#Event(<unknown>.String,<unknown>.Class)" class="constructorRef">Event</a>(String name, Class&lt;?&gt; parameter)</span><div class="memberDescription">
 Constructs an Event with a name and one parameter.</div></td></tr>



     <tr><td> </td><td><span class="memberName"><a href="#Event(<unknown>.String,<unknown>.Class[])" class="constructorRef">Event</a>(String name, Class&lt;?&gt;[] parameters)</span><div class="memberDescription">
 Constructs an Event with a name and several parameters.</div></td></tr>

   </table>




   <table class="method_summary summary">
     <tr><th colspan="2"><a name="method_summary" id="method_summary">Method Summary</a></th></tr>

     <tr><td>  void</td><td><span class="memberName"><a href="#connectEventSlot(<unknown>.Object,<unknown>.String)" class="methodRef">connectEventSlot</a>(Object object, String methodName)</span><div class="memberDescription">
 Connects the method with the given name and the required parameters of the given object to 
 this event.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#connectEventSlot(<unknown>.Class,<unknown>.String)" class="methodRef">connectEventSlot</a>(Class&lt;?&gt; classReference, String methodName)</span><div class="memberDescription">
 Connects the static method with the given name and the required parameters of the given 
 class to this event.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#disconnectEventSlot(<unknown>.Object,<unknown>.String)" class="methodRef">disconnectEventSlot</a>(Object object, String methodName)</span><div class="memberDescription">
 Disconnects the method with the given name and the required parameters of the given object 
 from this event.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#disconnectEventSlot(<unknown>.Class,<unknown>.String)" class="methodRef">disconnectEventSlot</a>(Class&lt;?&gt; classReference, String methodName)</span><div class="memberDescription">
 Disonnects the static method with the given name and the required parameters of the given 
 class from this event.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#emitEventSignal()" class="methodRef">emitEventSignal</a>()</span><div class="memberDescription">
 Emits an event signal with no arguments.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#emitEventSignal(<unknown>.Object)" class="methodRef">emitEventSignal</a>(Object argument)</span><div class="memberDescription">
 Emits an event signal with one argument.</div></td></tr>



     <tr><td>  void</td><td><span class="memberName"><a href="#emitEventSignal(<unknown>.Object[])" class="methodRef">emitEventSignal</a>(Object[] arguments)</span><div class="memberDescription">
 Emits an event signal with several arguments.</div></td></tr>



     <tr><td>  String</td><td><span class="memberName"><a href="#getName()" class="methodRef">getName</a>()</span><div class="memberDescription">
 Returns the name of the Event.</div></td></tr>

   </table>



<!--
   <p class="inherited">
    <span class="header">Methods inherited from class java.util.<a
   href="AbstractCollection.html">AbstractCollection</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from class java.lang.<a
   href="Object.html">Object</a></span>
    <a href="#addAll">clone</a>
    <a href="#contains">finalize</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from interface java.util.<a
   href="List.html">List</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
-->





   <h2><a name="constructor_detail" id="constructor_detail">Constructor Detail</a></h2>

   <h3><a name="Event(<unknown>.String)" id="Event(<unknown>.String)">Event</a></h3>
   <div class="memberName">public  Event(String name)</div>
   <div class="memberDescription">
 Constructs an Event with a name and no required parameters.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">name           Name of the Event</span> </p>
</div>


   <h3><a name="Event(<unknown>.String,<unknown>.Class)" id="Event(<unknown>.String,<unknown>.Class)">Event</a></h3>
   <div class="memberName">public  Event(String name, Class&lt;?&gt; parameter)</div>
   <div class="memberDescription">
 Constructs an Event with a name and one parameter.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">name           Name of the Event</span> <span class="tagContents">parameter      Required parameter that subscribed EventSlots should implement</span> </p>
</div>


   <h3><a name="Event(<unknown>.String,<unknown>.Class[])" id="Event(<unknown>.String,<unknown>.Class[])">Event</a></h3>
   <div class="memberName">public  Event(String name, Class&lt;?&gt;[] parameters)</div>
   <div class="memberDescription">
 Constructs an Event with a name and several parameters.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">name           Name of the Event</span> <span class="tagContents">parameters     Array of required parameters that subscribed Eventslots should 
                       implement</span> </p>
</div>




   <h2><a name="method_detail" id="method_detail">Method Detail</a></h2>

   <h3><a name="connectEventSlot(<unknown>.Object,<unknown>.String)" id="connectEventSlot(<unknown>.Object,<unknown>.String)">connectEventSlot</a></h3>
   <div class="memberName">public  void connectEventSlot(Object object, String methodName)</div>
   <div class="memberDescription">
 Connects the method with the given name and the required parameters of the given object to 
 this event.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">object         Instance of the object</span> <span class="tagContents">methodName     Name of the method</span> </p>
</div>


   <h3><a name="connectEventSlot(<unknown>.Class,<unknown>.String)" id="connectEventSlot(<unknown>.Class,<unknown>.String)">connectEventSlot</a></h3>
   <div class="memberName">public  void connectEventSlot(Class&lt;?&gt; classReference, String methodName)</div>
   <div class="memberDescription">
 Connects the static method with the given name and the required parameters of the given 
 class to this event.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">classReference Reference to the class</span> <span class="tagContents">methodName     Name of the method</span> </p>
</div>


   <h3><a name="disconnectEventSlot(<unknown>.Object,<unknown>.String)" id="disconnectEventSlot(<unknown>.Object,<unknown>.String)">disconnectEventSlot</a></h3>
   <div class="memberName">public  void disconnectEventSlot(Object object, String methodName)</div>
   <div class="memberDescription">
 Disconnects the method with the given name and the required parameters of the given object 
 from this event.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">object         Instance of the object</span> <span class="tagContents">methodName     Name of the method</span> </p>
</div>


   <h3><a name="disconnectEventSlot(<unknown>.Class,<unknown>.String)" id="disconnectEventSlot(<unknown>.Class,<unknown>.String)">disconnectEventSlot</a></h3>
   <div class="memberName">public  void disconnectEventSlot(Class&lt;?&gt; classReference, String methodName)</div>
   <div class="memberDescription">
 Disonnects the static method with the given name and the required parameters of the given 
 class from this event.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">classReference Reference to the class</span> <span class="tagContents">methodName     Name of the method</span> </p>
</div>


   <h3><a name="emitEventSignal()" id="emitEventSignal()">emitEventSignal</a></h3>
   <div class="memberName">public  void emitEventSignal()</div>
   <div class="memberDescription">
 Emits an event signal with no arguments.</div>


   <h3><a name="emitEventSignal(<unknown>.Object)" id="emitEventSignal(<unknown>.Object)">emitEventSignal</a></h3>
   <div class="memberName">public  void emitEventSignal(Object argument)</div>
   <div class="memberDescription">
 Emits an event signal with one argument.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">argument       Argument which will be transmitted together with the signal</span> </p>
</div>


   <h3><a name="emitEventSignal(<unknown>.Object[])" id="emitEventSignal(<unknown>.Object[])">emitEventSignal</a></h3>
   <div class="memberName">public  void emitEventSignal(Object[] arguments)</div>
   <div class="memberDescription">
 Emits an event signal with several arguments.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">arguments      Arguments which will be transmitted together with the signal</span> </p>
</div>


   <h3><a name="getName()" id="getName()">getName</a></h3>
   <div class="memberName">public  String getName()</div>
   <div class="memberDescription">
 Returns the name of the Event.</div>

   
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../../../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/Event.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../../../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../../../index-all.html">Index</a></span>
      <span class="help"><a href="../../../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../../../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="Event.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../../../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_summary">Constr</a></span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field">Field</span>
       <span class="constr"><a href="#constructor_detail">Constr</a></span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <div class="bottom"></div>
   </body>
</html>
